package com.easy.frame.servers.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author msp
 * @date 2021/1/10
 */

@ApiModel("新增企业及机构")
@Getter
@Setter
@ToString
public class SysTenantAddDTO {

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("类型的key数组")
    private List<Integer> type;

    @ApiModelProperty("联系人姓名")
    private String contactPerson;

    @ApiModelProperty("是否系统管理员，0-否，1-是")
    private Integer sysAdmin;

    @ApiModelProperty("办公电话")
    private String telNum;

    @ApiModelProperty("是否拥有所有权限[0：不是所有，1：所有权限]")
    private Integer allAuth;

    @ApiModelProperty("电子邮箱地址")
    private String email;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("统一社会信用代码")
    private String creditCode;

    @ApiModelProperty("网址")
    private String website;

    @ApiModelProperty("备注")
    private String remark;
}
